import java.util.Scanner;

/**
 * Created by IntelliJ IDEA.
 * User: zm
 * Date: 2023/6/2
 */
public class FractionTester extends Fraction{
    public FractionTester(int numerator, int denominator) {
        super(numerator, denominator);
    }

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int numerator = scan.nextInt();
        int denominator = scan.nextInt();
        if(denominator == 0) System.out.println("分母不能为零");
        else {
            FractionTester fractionTester = new FractionTester(numerator,denominator);
            double res = (double)fractionTester.numerator / fractionTester.denominator;
            System.out.printf("分数值为%.2f",res);
        }

    }
}
class Fraction{
    public int numerator;
    public int denominator;

    public Fraction(int numerator, int denominator) {
        this.numerator = numerator;
        this.denominator = denominator;
    }
}

